package utils

import (
	"log"
	"os"
)

func LogFile(content string) {
	file, err := os.OpenFile("log.log", os.O_CREATE|os.O_RDWR|os.O_APPEND, 666)
	if err != nil {
		return
	}
	defer file.Close()
	log.SetPrefix("成功了")
	log.Println(content)
}
